Energy agencies face different fates in government shutdown