Australian PM apologises for raising harassment allegation