With ridership creeping up to its highest levels since the pandemic began, the MBTA will boost frequency on its subway system and more than two dozen bus routes in June.