Fast Radio Burst Tied to Distant Dwarf Galaxy and, Perhaps, Magnetar