US House passes resolution condemning socialism