Hurricane Dean loses steam after slamming Mexico