The federal government’s latest major projects legislation passed in the House of Commons despite pushback from opposition parties, environmental groups and labour unions — and concerns from some Liberal MPs.