Prime Minister Keir Starmer’s government had to make some politically fraught concessions to eke out trade deals with the E.U. and the U.S.