Parliament votes to phase out hazardous chemicals but allows huge knowledge gaps on safety