Pakistan joins Saudi counter-terror alliance