Jamaat will be dealt with as militant group after ban: PM