Learning to Ground Natural Language Instructions to Plans