I think Erase Junk Mail necessarily deletes it in all accounts, while Erase Deleted Messages only effects selected accounts. And since the accounts viewer used to be in a drawer, they probably figured it might not be visible. That's my guess. I'd say it needs to be rethought.