Sir Keir Starmer has sent a warning to Labour MPs who have rebelled against the government after suspending four MPs.