As federal safety officials responded Friday to a death on a Gulf of Mexico oil rig, the agency in charge of oil-rig safety received a rebuke from a congressional watchdog office that found poor management has caused it to fail in its most basic functions.