CIL arm gets loan to build railway line