27 killed in China railway attack