British lawmakers approved Prime Minister Boris Johnson’s plan to hold a snap general election on Dec. 12.