The House of Representatives passed three amendments on Thursday imposing one-year bans on offshore oil drilling on the Pacific, Atlantic and eastern Gulf of Mexico coasts, potentially restoring the safeguard that protected California’s coast for more than a quarter century.