Indoor Exploration and Simultaneous Trolley Collection Through Task-Oriented Environment Partitioning