The House of Representatives approved a “minibus” spending bill in a 339-85 vote on Wednesday to avert a partial government shutdown this weekend — despite opposition from conservative Republicans.