Instead of AiMoveTo You could try MoveToActor
https://api.unrealengine.com/INT/BlueprintAPI/AI/Navigation/MovetoActor/index.html
and set “allow partial path” to true, so it should try to calculate a path even if it can’t reach it completely, so it’ll still move as close as the nav mesh allows.