Cuts and compromise on environmental bill