House approves bill to protect prison nursing jobs