Imam replaced as speaker at Boston memorial service