Government extends TfL funding deal