Nuclear waste dumps can be imposed on local communities without their support under a new law rushed through in the final hours of parliament.