An Indian court threw out an attempt by a government utility in Prime Minister Narendra Modi’s home state to backtrack on contracts by cutting the rate paid to solar plants for their power.