Trade unions slam federal government's essential worker extensions