Similar Items: On Irrelevance and Algorithmic Equality in Predicative Type Theory