Tens of thousands flee north Nigeria town after jihadist attacks