Balfour Beatty lands £40m rail plant maintenance deal