Counterfactual reasoning about intent for interactive navigation in dynamic environments