Legal challenge to rail project dropped last year by Ranelagh residents after agreement to buy properties