Australian PM Gillard’s majority becomes slim