Afghan leader replaces top security chiefs in major shake-up