Effect of breakup on the fusion of 6Li, 7Li and 9Be with heavy nuclei