Keir Starmer needed to let US use UK military bases for attacks but handling conflict’s wider impacts will be tricky