A’s extend manager Melvin