HSF and Ashurst lose out in railway tussle with DfT