LONGUEUIL, Que. — People in a part of Longueuil, Que., were being asked to stay indoors with their doors and windows closed on Thursday morning after a train derailed, spilling an unknown quantity of hydrogen peroxide.