Setback for Modi's BJP in three key states