PM Modi departs for UAE after attending G7 summit in Germany