Simultaneous Multiwavelength Observations of Magnetic Activity in Ultracool Dwarfs. I. The Complex Behavior of the M8.5 Dwarf TVLM 513–46546