Indirect dark matter searches in the dwarf satellite galaxy Ursa Major II with the MAGIC telescopes