Parents at almost a quarter of Edinburgh schools are being charged £150 for repairs to broken iPads, it has emerged, despite other city schools replacing the devices for free.