Starmer’s hopes of curbing a party rebellion over a policy seen as latest shift to the right will be put to the test