Police have been granted extra time to question four people who were arrested in connection with the terrorist attack on a synagogue in Manchester.