More Americans Are Tapping 401(k)s for emergencies. Here’s When a Hardship Withdrawal Is and Isn’t a Smart Move