Virginia Mayo , who began her film career as a chorus girl and comic foil and then proved herself an accomplished actress , died yesterday at a nursing home in Thousand Oaks , Calif. , the Los Angeles suburb where she had lived for many years .