Musharraf barred from Pakistan elections