JAKARTA, Indonesia — From Pakistan to Gaza and Lebanon, militant Islamic movements have gained ground rapidly in recent years, fanning Western fears of a consolidation of radical Muslim governments. But here in the world’s most populous Muslim nation just the opposite is happening, with Islamic parties suffering a steep drop in popular support.