In the final hours of a visit meant to demonstrate the deep societal ties between the United States and India, President Barack Obama briefly broke from his gushing praise for the new Prime Minister to make a soft but undisguised push toward gender equality and religious freedom.