British man remains in custody after mass stabbing attack on train