In blocking Scotland’s gender bill, Rishi Sunak has picked an unnecessary fight that will split the Tories