Ramirez homers for A's, Parker demoted after 7 BBs