Terrorism act of war, no room for mediation: PM Modi to Trump