The House has passed legislation that would extend temporary protections for Haitian immigrants living in the United States.